package model;

public class Board {
	//map is a table
	public static Cell [] map;
	
	public Board(){	
		//initialize map with 40 cells
		map = new Cell [40];
		for(int i=0;i<map.length;i++){
			map[i]=new Cell();
		}
	}
	
	//we build the map
	public void build_map(){
		map[0].setGo();
		map[1].setCity("Botanic Gardens",60,"pink");
		map[2].setCommunity_chest();
		map[3].setCity("Queens Park",60, "pink");
		map[4].setTax("Clydesdale", 200);
		map[5].setCity("Glasgow Central",200, "station");
		map[6].setCity("Richmond Street", 100,"cyan");
		map[7].setChance();
		map[8].setCity("Argyle Street",100,"cyan");
		map[9].setCity("Hope Street",120,"cyan");
		map[10].setJail();
		map[11].setCity("Celtic Park",140,"magenta");
		map[12].setCity("Electric Compagny",150,"utility");
		map[13].setCity("Kelvin Hall",140, "magenta");
		map[14].setCity("Hampden Park",160, "magenta");
		map[15].setCity("Glasgow Airport",200,"station");
		map[16].setCity("Buchanan Street",180,"orange");
		map[17].setCommunity_chest();
		map[18].setCity("Byres Road",180,"orange");
		map[19].setCity("Howard Street",200,"orange");
		map[20].setFreeParking();
		map[21].setCity("Cowcaddens Road",220,"red");
		map[22].setChance();
		map[23].setCity("Dobbie's Loan",220,"red");
		map[24].setCity("Glasgow Cal. Univ.",240,"red");
		map[25].setCity("Queen Street Station",200,"station");
		map[26].setCity("Bath Street",260,"yellow");
		map[27].setCity("Ingraam Street",260,"yellow");
		map[28].setCity("Water Works",150,"utility");
		map[29].setCity("Saint Vincent Street",280,"yellow");
		map[30].setGoToJail();
		map[31].setCity("West Regent Street",300,"green");
		map[32].setCity("Sauchiehall Street", 300,"green");
		map[33].setCommunity_chest();
		map[34].setCity("Bothwell Street",320,"green");
		map[35].setCity("Buchanan Bus Station",200,"station");
		map[36].setChance();
		map[37].setCity("Georges Square",350,"blue");
		map[38].setTax("RBS",100);
		map[39].setCity("Pollok Country Park",400,"blue");
	}
}
